package com.dx.financehy.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * <pre>
 * @描述：
 * @作者：CLD
 * @创建时间：2021-06-15 17:19
 * </pre>
 **/
@ApiModel(description = "发送短信")
@Data
public class SmsDTO {

    @ApiModelProperty("手机号")
    @NotBlank(message = "手机号")
    private String phone;

    @ApiModelProperty("短信模板编号，跟后端索要")
    @NotBlank
    private String templateCode;

    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty("图形验证码")
    private String code;

    @ApiModelProperty("图形验证码流水号")
    @NotBlank(message = "验证码流水号不能为空")
    private String uuid = "";

}
